package com.manzuo.examples.showcase.dao;

import org.springframework.stereotype.Component;

import com.manzuo.examples.showcase.model.User;
import com.manzuo.framework.ibatis.DaoMethod;
import com.manzuo.framework.ibatis.OperationType;
import com.manzuo.framework.log.AutoLog;

@Component
public class UserDao {

	@DaoMethod(
		namespace = "user",
		name = "insert",
		type = OperationType.insert
	)
	@AutoLog("保存user")
	public Long saveUser(User user){
		return (Long)null;
	};
	
}
